From: Adrian Heine Date: Tue, 22 Sep 2015 08:07:09 +0000 (+0200) Subject: Fix typo in AvroFormatterTest X-Git-Tag: 1.31.0-rc.0~9919 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=3d7b910bc316aa49434b970a712037f5727f94ea;p=lhc%2Fweb%2Fwiklou.git Fix typo in AvroFormatterTest Also removes trailing whitespace in that file. Change-Id: Icf30a68ea7356735f416baae8a435e0f10d5caaa --- diff --git a/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php b/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php index 4c6d25e0ca..5cbb247730 100644 --- a/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php +++ b/tests/phpunit/includes/debug/logger/monolog/AvroFormatterTest.php @@ -25,7 +25,7 @@ use PHPUnit_Framework_Error_Notice; class AvroFormatterTest extends MediaWikiTestCase { - public function setUo() { + public function setUp() { if ( !class_exists( 'AvroStringIO' ) ) { $this->markTestSkipped( 'Avro is required for the AvroFormatterTest' ); } @@ -33,15 +33,15 @@ class AvroFormatterTest extends MediaWikiTestCase { } public function testSchemaNotAvailable() { - $formatter = new AvroFormatter( array() ); + $formatter = new AvroFormatter( array() ); $this->setExpectedException( 'PHPUnit_Framework_Error_Notice', "The schema for channel 'marty' is not available" ); $formatter->format( array( 'channel' => 'marty' ) ); } public function testSchemaNotAvailableReturnValue() { - $formatter = new AvroFormatter( array() ); + $formatter = new AvroFormatter( array() ); $noticeEnabled = PHPUnit_Framework_Error_Notice::$enabled; - // disable conversion of notices + // disable conversion of notices PHPUnit_Framework_Error_Notice::$enabled = false; // have to keep the user notice from being output wfSuppressWarnings();